package devstar_devcontainer

import (
	"fmt"
)

// ErrFailedToOperateDevstarDevcontainerDB 错误类型：打开数据库失败
type ErrFailedToOperateDevstarDevcontainerDB struct {
	Action  string
	Message string
}

func (err ErrFailedToOperateDevstarDevcontainerDB) Error() string {
	return fmt.Sprintf("Failed to %v in DevStar DevContainer DB: %v", err.Action, err.Message)
}
